package pub.zhouhui.services.Monitor;

import org.springframework.stereotype.Component;

import java.util.HashMap;

/**
 * Created by shane on 16-11-16.
 */
@Component
public class MonitorController {
    private HashMap<String, Boolean> montitorHashMap = new HashMap<String, Boolean>();

    public Boolean getMontitorHashMapValue(String name) {
        return montitorHashMap.get(name);
    }

    public void setMontitorHashMap(String name, Boolean value) {
        montitorHashMap.put(name, value);
    }
}
